package com.atguigu.jxc.dao;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :ttm
 * @description :
 */
public interface SupplierDao {
    List<Supplier> list(@Param("supplierName") String supplierName);


    ServiceVO save(Supplier supplier);

    void delete(String id);

    List<Supplier> getSupplierListByNameLike(String q);
}
